﻿using System;

namespace BSharp.Compiler
{
	public class ExpressionStatement : AstNode
	{
		public AstNode Expression;

		public ExpressionStatement (SourceLocation location, AstNode expr)
			: base (location)
		{
			Expression = expr;
		}

		public override void Visit (AstVisitor visitor)
		{
			visitor.Accept (this);
		}
	}
}

